package com.hailian.fintech.hlautoserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author wk
 * @since 2020-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hl_user")
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String username;
    private String passwprd;
    /**
     * 图片
     */
    private Integer pic;
    /**
     * 支付密码
     */
    private Integer deal_password;
    /**
     * 余额
     */
    private BigDecimal money;

    /**
     * 公司
     */
    private Integer pid;

    @TableField(exist = false)
    private String new_password;

    @TableField(exist = false)
    private String checkcode;


}
